package cn.iocoder.yudao.module.lowcode.controller.admin.datasource.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 数据源健康状态 Response VO")
@Data
public class DatasourceHealthRespVO {

    @Schema(description = "健康状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean healthy;

    @Schema(description = "活跃连接数", example = "5")
    private Integer activeConnections;

    @Schema(description = "空闲连接数", example = "3")
    private Integer idleConnections;

    @Schema(description = "最大连接数", example = "20")
    private Integer maxConnections;

    @Schema(description = "详细信息")
    private String details;

    @Schema(description = "最后检查时间")
    private String lastCheckTime;
}